home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / tview294.zip / NETWORK.DOC < prev    next >
Text File  |  1990-06-03  |  2KB  |  54 lines

  1. This door is fully tested by multi-node systems.  The door has performed
  2. flawlessly under both Networks and Multitaskers.
  3.  
  4. If you are running PCBoard 14.5 you can run this door with a single
  5. batch file and .CNF file for all nodes!
  6.  
  7. On my system I have three nodes.  The default directories are called:
  8.  
  9. D:\PCB1
  10. C:\PCB2
  11. C:\PCB3
  12.  
  13. The variables needed are the drive letter and the node number, so I set
  14. those in my environment by putting the following in my BOARD.BAT (on
  15. node 1):
  16.  
  17. SET DRIVE=D:
  18. SET NODE=1
  19.  
  20. For Node 2's BOARD.BAT it's:
  21.  
  22. SET DRIVE=C:
  23. SET NODE=2
  24.  
  25. Node 3:
  26.  
  27. SET DRIVE=C:
  28. SET NODE=3
  29.  
  30. Then I go into PCBSETUP and edit the DOORS.LST (aka DOORS.DAT) file to
  31. define the path to the batch file.  I use D:\DOORBATS.
  32.  
  33. I go to the \DOORBATS directory and create the door batch file.  For a
  34. Prokit door it would look something like this (node 1 used for example):
  35.  
  36. Batch file says:                      DOS Translates it to:
  37.  
  38. @ECHO OFF                             @ECHO OFF
  39. D:                                    D:
  40. CD\PCB\DOORS                          CD\PCB\DOORS
  41. DOOR DOOR.CNF %DRIVE%\PCB%NODE%       DOOR DOOR.CNF D:\PCB1
  42. %DRIVE%                               D:
  43. CD\PCB%NODE%                          CD\PCB1
  44. BOARD                                 BOARD
  45.  
  46. This method makes it a cynch to install a door on any number of nodes.
  47. the .CNF files for Prokit doors aren't node specific, so there is no
  48. reason to have more than one of them.  In the case of DOORPCH doors, you
  49. need on .CFG file per node, but you can still point to them using the
  50. %NODE% variable if you name them something like PCH1.CFG,
  51. PCH2.CFG, etc.  I'm running a large assortment of different doors, and
  52. so far, all of them have installed using this method.
  53.  
  54.